const initialState = "../../assets/img/default.png"
export const avatarReducer = (state = initialState, action) => {
  switch (action.type) {
    case 'AVATAR':
      if (action.payload) {
        return action.payload
      }
      break

    default:
      return state
  }
}